<?php
/*------------------------------------------------------------------------
# Copyright (C) 2004-2007 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
# @license - Copyrighted Commercial Software
# Author: J.O.O.M Solutions Co., Ltd
# Websites:  http://www.joomlart.com -  http://www.joomlancers.com
-------------------------------------------------------------------------*/

	// Menu item typo: 'page' => array( 'icon', 'Title', $subitem );
	// 'page' can be null
	// 'icon' are located in administrator/components/your_component/styles/icons
	// $subitem can be an array of items, or be null
require_once(JPATH_COMPONENT_ADMINISTRATOR.DS.'models'.DS.'sectionslayout.php');
$m = new JanewsModelsectionslayout();
$list_sections = $m->getListSections();
	$list=array();
for ($i=0, $n=count( $list_sections ); $i < $n; $i++)
	{ $v = $list_sections[$i];
	  $list['index.php?option=com_janews&controller=sectionslayout&task=edit&cid[]='.$v->id] = array('joinbottom',$v->title,'');
	}
$help = array();$uhelp = JRequest::getURI().'&task=help';
$help['http://joomlart.com'." target='_blank'"] = array('joinbottom', JText::_('DOCUMENT'),'');
$help['http://joomlart.com/forums'." target='_blank'"] = array('joinbottom', JText::_('CHANGE LOG'),'');
$client	=& JApplicationHelper::getClientInfo(JRequest::getVar('client', '0', '', 'int'));
$ja_nav = array(
  'index.php?option=com_janews&controller=common' => array('config', JText::_('COMMON CONFIGURATION'), ''),
	'index.php?option=com_janews&controller=frontpage' => array('frontpage', JText::_('FRONTPAGE LAYOUT'),''),
	'index.php?option=com_janews&controller=sectionslayout' => array('sections', JText::_('SECTIONS LAYOUT'), $list),
	'index.php?option=com_janews&controller=layouttemplates' => array('template', JText::_('LAYOUT TEMPLATES'), array(
                		    'index.php?option=com_janews&controller=layouttemplates&group=headline' => array('arrow', JText::_('HEADLINE'),''),
                		    'index.php?option=com_janews&controller=layouttemplates&group=blog' => array('arrow', JText::_('BLOG'),''))),
	'index.php?option=com_janews&controller=languages' => array('language', JText::_('LANGUAGE MANAGER'), array(
																		'index.php?option=com_janews&controller=languages&client=0'=>array('arrow', JText::_('SITE'), ''),
																		'index.php?option=com_janews&controller=languages&client=1'=>array('arrow', JText::_('ADMINISTRATOR'), '')
																		)),
	$uhelp => array('online_help', JText::_('Help'), $help)
);

include_once("navigation.class.php");
?>